Skip to content

docs(flags): Make /flags/logs endpoint public - #126855

Merged
cmanallen merged 2 commits into
masterfrom
cmanallen/make-flags-logs-public
Oct 13, 2026
Merged

cmanallen merged 2 commits into
masterfrom
cmanallen/make-flags-logs-public

Conversation

@cmanallen

Copy link
Copy Markdown
Member

Makes the /flags/logs endpoint public. The will allow an AI to use this endpoint with codemode in Seer.

I had to define some types and a lot of annoying decoration. Should be relatively straight-forward to merge though.

@cmanallen
cmanallen requested a review from a team as a code owner October 8, 2026 14:21
@cmanallen
cmanallen requested a review from a team October 8, 2026 14:21
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Oct 8, 2026
@cmanallen
cmanallen requested a review from a team as a code owner October 8, 2026 15:17

@gggritso gggritso left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Comment on lines +911 to +919
resource = FlagAuditLogModel.objects.create(
action=ActionEnum.UPDATED.value,
created_by="permission-matrix@example.com",
created_by_type=CreatedByTypeEnum.EMAIL.value,
flag="permission-matrix-flag",
organization_id=self.org.id,
provider=PROVIDER_MAP["generic"],
tags={"environment": "production"},
)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe a bit surprising this doesn't go through Factories like the other fixtures, but 🤷🏻‍♂️

@cmanallen
cmanallen merged commit 1d60295 into master Oct 13, 2026
70 of 71 checks passed
@cmanallen
cmanallen deleted the cmanallen/make-flags-logs-public branch October 13, 2026 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants